﻿using System;
using QzEbook.AccessObject;
using System.Collections.Generic;
using System.Text;

namespace QzEbook.Admin
{
    public class Adminstrator
    {
        public Adminstrator()
        {
        }

        /// <summary>
        ///   取得所有用户;
        /// </summary>
        /// <returns></returns>
        public List<SiteUser> getUserList()
        {
            return null;
        }

        /// <summary>
        ///  取得所有标签;
        /// </summary>
        /// <returns></returns>
        public List<Tag> getAllTag()
        {
            Tag tag = new Tag();
            return tag.selectList();
        }

        public StringBuilder getAllTagToHTML()
        {
            List<Tag> taglist=getAllTag();
            foreach (Tag item in taglist)
            {
                
            }
            return null;
        }

        /// <summary>
        ///  取得所有发布但没有经过审核的电子书;
        /// </summary>
        /// <returns></returns>
        public List<Book> getPublishBook()
        {
            return null;
        }

    }

}